package com.powernode.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.domain.Order;

import java.util.Date;

public interface OrderService extends IService<Order> {

    Page<Order> queryOrderPage(Page<Order> orderPage, String orderNumber, Integer status, Date startTime, Date endTime);

    /**
     * 根据订单编号查询订单详情
     * @param orderNumber 订单编号
     * @return
     */
    Order queryOrderDetailByOrderNumber(Long orderNumber);

}
